%h1
  Listing billing_orders
%table
  %tr
    %th
      User
    %th
      Status
    %th
      Action
    %th
      Ref operation
    %th
      Note
    %th
      Ip address
    %th
      Account
    %th
      Amount
    /
      <th>Amount tax</th>
      <th>Amount shipping</th>
      <th>Amount total</th>
    %th
      Created at
    %th
      Updated at
  - @billing_orders.each do |billing_order|
  %tr
    %td
      = h billing_order.user_id
    %td
      = h billing_order.status
    %td
      = h billing_order.action
    %td
      = h billing_order.ref_operation_id
    %td
      = h billing_order.note
    %td
      = h billing_order.ip_address
    %td
      = h billing_order.account_id
    %td
      = h billing_order.amount
    /
      <td><haml:loud>h billing_order.amount_tax </haml:loud></td>
      <td><haml:loud>h billing_order.amount_shipping </haml:loud></td>
      <td><haml:loud>h billing_order.amount_total </haml:loud></td>
    %td
      = h billing_order.created_at
    %td
      = h billing_order.updated_at
    %td
      = link_to 'Show', billing_order
    /
      <td><haml:loud> link_to 'Edit', edit_billing_order_path(billing_order) </haml:loud></td>
    /
      <td><haml:loud> link_to 'Destroy', billing_order, :confirm =&amp;gt; 'Are you sure?', :method =&amp;gt; :delete </haml:loud></td>
  - end
%br
= link_to 'New billing_order', new_billing_order_path
